package com.blacksea.authserver.web.response;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * AuthorizationCodeResponse
 * 用户认证入口: 请求获取Code
 *
 * @author blacksea3(jxt) 2021/4/11 14:48
 */
@Data
@NoArgsConstructor
public class AuthorizationCodeGETResponse {
    // html 内容
    private String html;
    // 状态
    private String state;

    public AuthorizationCodeGETResponse(ResponseStateEnum responseStateEnum, String html) {
        this.state = responseStateEnum.getStr();
        this.html = html;
    }
}
